<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/10/26
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_3510_TOOL_SPARE_MANAGEMENT_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        #topDiv{
            margin-top:20px;
        }
        .bottomDiv{
            margin-top:10px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="col-sm-12 btnDivCss">
        <button class="btn btn btn-info"    id="query_btn"><s:message code="QUERY_BTN_TAG"/></button>
        <button class="btn btn-success"     id="save_btn"><s:message code="SAVE_TAG"/></button>
        <button class="btn btn-danger"      id="del_btn"><s:message code="DELETE_TAG"/></button>
        <input  id="select_btn"  type="file" class="form-control  file" accept=".xls,.xlsx" style="display: none" />
        <button class="btn btn btn-primary" id="import_btn">EXCEL<s:message code="IMPORT_TAG" /></button>
        <button class="btn btn btn-warning" id="download_btn">EXCEL<s:message code="IMPORT_STENCIL"/></button>
    </div>
    <div id="topDiv" class="col-sm-12">
        <fieldset>
            <legend><s:message code="TOOL_SPARE_TAG"/></legend>
        </fieldset>
        <form  class="form-horizontal">
            <div class="form-group col-sm-4">
                <label class="control-label col-sm-4" for="toolSpareId">
                    <s:message code="TOOL_SPARE_ID_TAG" />
                </label>
                <div class="col-sm-8">
                    <select id="toolSpareId" class="form-control"></select>
                </div>
            </div>
            <div class="form-group col-sm-4">
                <label class="control-label col-sm-4" for="backDest">
                            备品备件仓
                </label>
                <div class="col-sm-8">
                    <select id="backDest" class="form-control"></select>
                </div>
            </div>
        </form>
    </div>
    <div class="col-sm-4 bottomDiv">
        <fieldset>
            <legend><s:message code="TOOL_INPUT_LIST_TAG"/></legend>
        </fieldset>
        <div id="toolListDiv" class="col-sm-12">
            <table id="toolListGrd" style="height: 1px;"></table>
            <div id="toolListPg"></div>
        </div>
    </div>
	<div class="col-sm-8 bottomDiv">
       <fieldset>
           <legend><s:message code="TOOL_SPARE_WH_LIST_TAG"/></legend>
       </fieldset>
       <div id="whListDiv" class="col-sm-12">
           <table id="whListGrd" style="height: 1px;"></table>
           <div id="whListPg"></div>
       </div>
	</div>
</div>
<%@ include file="/page/comPage/comJS.html"%>
<script src="js/page/3000/3510.js"></script>
<script src="lib/fileinput/js/xlsx.full.min.js"></script>
</body>
</html>